//LED moudle
//Author:Liuhao
//Date:04,05.2018

/********************************************************************/

//module & IO declaratioi
module	LED_ctl(
	sys_clk,
	sys_rst_n,
	LED

);

	input	sys_clk;
	input	sys_rst_n;
	output	LED;

/****************************************************/
reg [23:0] LED_cnt;

always @ (posedge sys_clk or negedge sys_rst_n)
begin
	if(!sys_rst_n)
		LED_cnt <= 0;
	else
		LED_cnt <= LED_cnt + 1'b1;
end

assign LED = LED_cnt[23];


endmodule

/********************************************************************/

